Perfect_Woocommerce_Brands\PWB_API_Support S

Total Complexity 16
Dependencies 3
Dependents 0
Total lines 151
Lines of code 90
Logical lines of code 32
Comment lines 31
Methods 10
Properties 2

Methods 10

Method Rating Maintainability Complexity Lines of code
register_endpoints()
S
52 2 29
delete_brand()
S
67 3 7
get_callback()
S
62 2 12
create_brand()
S
65 2 8
remove_brands()
S
70 2 6
__construct()
S
76 1 4
register_fields()
S
68 1 7
get_schema()
S
64 1 10
update_callback()
S
76 1 4
add_brands()
S
79 1 3